package com.sh.mytool.cv.service;

import com.sh.common.page.QueryResult;
import com.sh.mytool.cv.domain.ImageGallery;
import com.sh.mytool.cv.domain.ImageGalleryCover;

public interface ImageGalleryService {

    public QueryResult<ImageGallery> page(String scope, Object[] params, int begin, int max);

    public void insert(ImageGallery imageGallery, ImageGalleryCover cover) throws Exception;

    public void delete(Long id) throws Exception ;

    public ImageGallery get(Long id);

    public void update(ImageGallery imageGallery, ImageGalleryCover cover)  throws Exception;

}
